
import request from "./http";

// 获取歌曲url
export function getSongUrl(params) {
    return request({
        url: "/song/url",
        method: "get",
        params
    })
}
// 获取歌曲详情
// /song/detail?ids=347230
export function getSongDetail(params) {
    return request({
        url: "/song/detail",
        method: "get",
        params
    })

}

// 获取歌词
// /lyric?id=1811921555
export function getLyric(params) {
    return request({
        url: "/lyric",
        method: "get",
        params
    })

}

// 获取热门关键词
export function getHot(params) {
    return request({
        method: "get",
        url: "/search/hot",
        params
    })
}
// //热门搜索
export function getSearch(params) {
    return request({
        method: "get",
        url: "/search",
        params
    })
}

